package com.smart.village.big.screen.domain;

import com.alibaba.fastjson.JSONObject;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotNull;

import java.io.Serializable;

public class SendMessage implements Serializable {
    @NotNull @Valid
    private String openId;
    @NotNull @Valid
    private String templateId;
    @NotNull @Valid
    private JSONObject content;

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getTemplateId() {
        return templateId;
    }

    public void setTemplateId(String templateId) {
        this.templateId = templateId;
    }

    public JSONObject getContent() {
        return content;
    }

    public void setContent(JSONObject content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return "SendMessage{" +
                "openId='" + openId + '\'' +
                ", templateId='" + templateId + '\'' +
                ", content=" + content +
                '}';
    }
}
